package com.lening.collect.service.impl;

import com.lening.collect.dto.RecordDTO;
import com.lening.collect.pojo.Record;
import com.lening.collect.mapper.RecordMapper;
import com.lening.collect.service.IRecordService;
import com.lening.common.base.BaseServiceImpl;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author 杨军
 * @since 2024-05-31
 */
@Service
public class RecordServiceImpl extends BaseServiceImpl<RecordMapper, Record, RecordDTO> implements IRecordService {

    @Override
    public int add(Long total) {
        int num = this.baseMapper.add(total);
        return num;
    }
}
